
LDFLAGS = `mylibs-config --ldflags`
CFLAGS  =  -Wall -pedantic `mylibs-config --cflags` -fopenmp

ARCH = $(shell uname -m)
LAST_BUILD = $(shell cat make.log)

all: dati2e.cpp
	g++ $(CFLAGS) dati2e.cpp  -o dati2e.$(ARCH) `mylibs-config --ldflags`

clean:
	rm -rf dati2e.$(ARCH) *.o
